package com.qiaofang.applet.service.other.service;

import com.qiaofang.applet.common.base.BaseService;
import com.qiaofang.applet.service.other.domain.Carousel;
import com.qiaofang.applet.service.other.service.dto.CarouselDetailDto;
import com.qiaofang.applet.service.other.service.dto.CarouselQueryDto;
import com.qiaofang.applet.service.other.service.dto.CarouselResponseDto;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author daiyuxiang
 */
public interface CarouselService extends BaseService<Carousel, String> {
    void saveDetail(Carousel carousel);

    Page<CarouselDetailDto> listDetail(CarouselQueryDto carouselQueryDto, Pageable pageable);

    List<CarouselResponseDto> getList(CarouselQueryDto carouselQueryDto);

    void remove(String carouselId);

    
}
